package com.tony.springbootthymeleaf.entity;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Xuxiaoyu
 * created in 2024/12/3 15:30:44
 */
public class User implements Serializable {


    @Serial
    private static final long serialVersionUID = 1345881051793171338L;

    private String id;

    private String loginName;

    private String userName;

    private String phone;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public User() {
    }

    public User(String id, String loginName, String userName, String phone) {
        this.id = id;
        this.loginName = loginName;
        this.userName = userName;
        this.phone = phone;
    }
}
